package com.digitalchina.lxnsy.activity.farmVideo;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;

/**
 * ================================================
 * 项目名称：android
 * 类描述：我的粉丝
 * 创建人：rxx
 * 创建时间：2020/1/8 17:26
 * 修改备注：
 * ================================================
 */
public class MyFansActivity extends BaseHtmlActivity {


    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);
        loadUrl("video-my-fans");
        setTitle("粉丝");

    }

    @Override
    public void rightOnClick() {

    }

    public class JsApi {

        //去个人主页
        @JavascriptInterface
        public void goPersonInfo(Object msg) {
            go(PersonActivity.class);
        }
    }
}
